#ifndef MESSAGESTRINGATTRIBUTE_H
#define MESSAGESTRINGATTRIBUTE_H

#include "MessageAttribute.h"

class MessageStringAttribute : public MessageAttribute
{
    public:
        MessageStringAttribute() {
        }

        virtual ~MessageStringAttribute() {
        }

        virtual void ReadValue(std::istringstream& pStream) {
            pStream >> Value;
        }

        virtual void WriteValue(std::ostringstream& pStream) {
            pStream << Value << "\n";
        }

        std::string Value;

    protected:
    private:
};

#endif // MESSAGESTRINGATTRIBUTE_H
